﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>跟进</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../Layui/css/layui.css" media="all">
</head>
<body>
    <form class="layui-form" action="">
        <div class="layui-form-item" style="margin-top:10px;">
            <label class="layui-form-label">跟进方式</label>
            <div class="layui-input-block">
                <input type="radio" name="sex" value="电话" title="电话">
                <input type="radio" name="sex" value="微信" title="微信" checked>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">跟进结果</label>
            <div class="layui-input-block">
                <input type="radio" name="Jg" value="预约到访" title="预约到访">
                <input type="radio" name="Jg" value="A" title="A类" checked>
                <input type="radio" name="Jg" value="B" title="B类">
                <input type="radio" name="Jg" value="C" title="C类">
                <input type="radio" name="Jg" value="淘汰" title="淘汰">

            </div>

        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">预约时间</label>
            <div class="layui-input-inline">
                <input type="text" name="BirdDate" id="BirdDate" required lay-verify="required" placeholder="请选择预约日期" autocomplete="off" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">

            <label class="layui-form-label">试听选择</label>
            <div class="layui-input-block">
                <input type="checkbox" name="St" title="预约试听">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">课程选择</label>
            <div class="layui-input-inline">
                <select name="LinkRelation" lay-verify="required">
                    <option value=""></option>
                    <option value="课程1">课程1</option>
                    <option value="课程2">课程2</option>

                </select>
            </div>
            <label class="layui-form-label">付费状态</label>

            <div class="layui-input-block">
                <input type="radio" name="Sfqk" value="已付费" title="已付费">
                <input type="radio" name="Sfqk" value="未付费" title="未付费" checked>
                <input type="radio" name="Sfqk" value="不收费" title="不收费">
            </div>


        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">付款明细</label>
            <button data-method="offset" data-type="test19" class="layui-btn layui-btn-normal " data-content="fkmx.html">填写付费明细</button>

            <div style="margin-left:100px;">
               
                <div class="layui-card-header">付费凭证上传</div>
                <div class="layui-card-body">
                    <div class="layui-upload-drag" id="test-upload-drag">
                        <i class="layui-icon"></i>
                        <p>点击上传，或将文件拖拽到此处</p>
                    </div>
                </div>

            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">跟进备注</label>
            <div class="layui-input-block">
                <textarea name="CustRemark" placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
    <script src="../Layui/layui.js"></script>

    <script>
        layui.config({
            base: '../Layui/' //静态资源所在路径
        }).extend({
            index: 'lib/index' //主入口模块
        }).use('index');
    </script>
    <script>
        //Demo
        layui.use('form', function () {
            var form = layui.form;

            //监听提交
            form.on('submit(formDemo)', function (data) {
                layer.msg(JSON.stringify(data.field));
                return false;
            });
        });
    </script>
    <script>
        layui.use('laydate', function () {
            var laydate = layui.laydate;
            //执行一个laydate实例
            laydate.render({
                elem: '#BirdDate' //指定元素
            });


        });
    </script>
    <script>
        layui.use('layer', function () { //独立版的layer无需执行这一句
            var $ = layui.jquery, layer = layui.layer; //独立版的layer无需执行这一句

            //触发事件
            var active = {
                test19: function () {
                    top.layer.open({
                        type: 2,
                        title: '批量分配顾问',
                        area: ['500px', '700px'],
                        content: 'disadd.html'

                    });
                }


            };

            $('.layui-btn').on('click', function () {
                var type = $(this).data('type');
                active[type] && active[type].call(this);
            });


        });
    </script>
    <script>
        layui.use('upload', function () {
            var upload = layui.upload;

            //执行实例
            var uploadInst = upload.render({
                elem: '#test-upload-drag' //绑定元素
                , url: '/upload/' //上传接口
                , done: function (res) {
                    //上传完毕回调
                }
                , error: function () {
                    //请求异常回调
                }
            });
        });
    </script>
</body>
</html>